#!/usr/bin/env python
# -*- coding: utf-8 -*-

'''eof
name:目标公司投资人数量
code:U_InvestInNum
tableName:
columnName:
groups:关联方
dependencies:EG_BBD
type:常用指标
dataSourceType:在线指标
description:
eof'''

'''
直接从返回的EG接口取出
InvestInNum :
'''


def u_InvestInNum():
    null_type_list = ['', None, 'null', 'Null', 'NULL', '/', ' ']

    try:
        InvestInNum = EG_BBD['U_InvestInNum']

        if InvestInNum not in null_type_list:
            return float(InvestInNum)
        else:
            return u'缺失值'

    except:
        return u'缺失值'


result = u_InvestInNum()